package gob.minedu.capacitacion.cxa.serviceImpl;
/**
 * @author pedro rios
 * @date 02/04/14
 */


import java.util.List;

import org.springframework.stereotype.Service;

import gob.minedu.capacitacion.cxa.bean.TallerBean;
import gob.minedu.capacitacion.cxa.dao.ibatis.TallerDAO;
import gob.minedu.capacitacion.cxa.service.TallerService;

@Service
public class TallerServiceImpl implements TallerService{
	

	private TallerDAO tallerDAO;
	
	
	

	public TallerDAO getTallerDAO() {
		return tallerDAO;
	}


	public void setTallerDAO(TallerDAO tallerDAO) {
		this.tallerDAO = tallerDAO;
	}



	public List<TallerBean> getTalleresActivos() {
		return getTallerDAO().getTalleresActivos();
	}



	public boolean updateFechasTaller(TallerBean obj) {
		return getTallerDAO().updateFechasTaller(obj);
	}


	@Override
	public String getCodigoTallerNew() {
		return getTallerDAO().getCodigoTallerNew();
	}


	@Override
	public boolean insertTaller(TallerBean obj) {
		return getTallerDAO().insertTaller(obj);
	}


	@Override
	public TallerBean getTallerById(Long idTaller) {
		return getTallerDAO().getTallerById(idTaller);
	}


	@Override
	public boolean updateTaller(TallerBean obj) {
		return  getTallerDAO().updateTaller(obj);
	}


	@Override
	public boolean deleteTaller(Long idTaller) {
		return  getTallerDAO().deleteTaller(idTaller);
	}
	
	


	

		
}